From: kaf24@scramble.cl.cam.ac.uk Date: Sun, 4 Apr 2004 07:21:06 +0000 (+0000) Subject: bitkeeper revision 1.840 (406fb762yj36s7Fm0uyl3kIEsKNlTw) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18281 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=1416149965593cdf2e440de8278ab4ae4b2c92d9;p=xen.git bitkeeper revision 1.840 (406fb762yj36s7Fm0uyl3kIEsKNlTw) xc_domain.c, xc.h: Fix a build warning. --- diff --git a/tools/xc/lib/xc.h b/tools/xc/lib/xc.h index 0abd00989e..48b296b40a 100644 --- a/tools/xc/lib/xc.h +++ b/tools/xc/lib/xc.h @@ -53,6 +53,10 @@ int xc_domain_getinfo(int xc_handle, unsigned int max_doms, xc_dominfo_t *info); +int xc_shadow_control(int xc_handle, + u64 domid, + unsigned int sop); + int xc_linux_save(int xc_handle, u64 domid, const char *state_file, @@ -83,7 +87,7 @@ int xc_bvtsched_domain_set(int xc_handle, unsigned long warpu); int xc_bvtsched_global_get(int xc_handle, - unsigned long *ctx_allow); + unsigned long *ctx_allow); int xc_bvtsched_domain_get(int xc_handle, u64 domid, @@ -93,20 +97,18 @@ int xc_bvtsched_domain_get(int xc_handle, unsigned long *warpu); int xc_atropos_domain_set(int xc_handle, - u64 domid, - u64 period, u64 slice, u64 latency, - int xtratime); + u64 domid, + u64 period, u64 slice, u64 latency, + int xtratime); int xc_atropos_domain_get(int xc_handle, u64 domid, u64* period, u64 *slice, u64 *latency, int *xtratime); -int xc_rrobin_global_set(int xc_handle, - u64 slice); +int xc_rrobin_global_set(int xc_handle, u64 slice); -int xc_rrobin_global_get(int xc_handle, - u64 *slice); +int xc_rrobin_global_get(int xc_handle, u64 *slice); typedef struct { unsigned long credit_bytes; @@ -231,6 +233,6 @@ int xc_readconsolering(int xc_handle, int clear); int xc_physinfo(int xc_handle, - xc_physinfo_t *info); + xc_physinfo_t *info); #endif /* __XC_H__ */ diff --git a/tools/xc/lib/xc_domain.c b/tools/xc/lib/xc_domain.c index 1d7da0442b..e4d2fc0981 100644 --- a/tools/xc/lib/xc_domain.c +++ b/tools/xc/lib/xc_domain.c @@ -104,12 +104,12 @@ int xc_domain_getinfo(int xc_handle, } int xc_shadow_control(int xc_handle, - u64 domid, - unsigned int sop) + u64 domid, + unsigned int sop) { dom0_op_t op; op.cmd = DOM0_SHADOW_CONTROL; op.u.shadow_control.domain = (domid_t)domid; - op.u.shadow_control.op = sop; + op.u.shadow_control.op = sop; return do_dom0_op(xc_handle, &op); }